package com.sunyard.constant;

public class Dict {
    private String value;
    private String name;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static Dict create(Object value, Object name) {
        Dict dict = new Dict();
        dict.setValue(String.valueOf(value));
        dict.setName(String.valueOf(name));
        return dict;
    }
}
